package com.jingle.tutorial;

import java.util.*;

import com.jingle.tutorial.other.CarMaster;

public class CarMain
{
	public static void main(String args[])
	{
		ArrayList<CarMaster> carMasterList = new ArrayList<CarMaster>();

		for (int i = 0; i < 10; i++)
		{
			carMasterList.add(Dealership.newCar());
		}

		CarFactory.modifyCar(carMasterList);
		
		for (CarMaster car : carMasterList)
		{
			System.out.println(car.getMake() + " - " + car.getModel() + " - " + car.getColor() + " - " + car.getPimpLevel());
		}
	}
}
